extends State



func _enter() -> void:
    _root.amt_player.play("idle")


func _update(_delta: float) -> void:
    var input := Utils.get_input_vec2()
    
    if not input.is_zero_approx():
        switch.emit("Move")
    elif _root.target.can_dash() and Input.is_action_just_pressed("dash"):
        switch.emit("Dash")
    
